#ifndef PTHREADPOOL_H
#define PTHREADPOOL_H
#include <my_header.h>
#include "PthreadArry.h"
#include "ReadyQueue.h"
#include "InternetOperator.h"
#include "UserLink.h"

#include "LongCommand.h"
#include "ShortCommand.h"

typedef struct threadpool{
    PthreadArry thd_arry;
    ReadyQueue rdy_que;
    pthread_mutex_t lock1;   //管新来链接的
    pthread_cond_t cond;
}PthreadPool;




int pthreadPoolInit(PthreadPool * pp,int size);




#endif
